﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="GroupParticipantDataSet" targetNamespace="http://tempuri.org/GroupParticipantDataSet.xsd" xmlns:mstns="http://tempuri.org/GroupParticipantDataSet.xsd" xmlns="http://tempuri.org/GroupParticipantDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="templateConnectionString4" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="templateConnectionString4 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Big3.Hitbase.DataBaseEngine.Properties.Settings.GlobalReference.Default.templateConnectionString4" Provider="Microsoft.SqlServerCe.Client.3.5" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="GroupParticipantTableAdapter" GeneratorDataComponentClassName="GroupParticipantTableAdapter" Name="GroupParticipant" UserDataComponentName="GroupParticipantTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="templateConnectionString4 (Settings)" DbObjectName="GroupParticipant" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [GroupParticipant] WHERE (([GroupParticipantID] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GroupParticipantID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [GroupParticipant] ([PersonGroupID], [PersonGroupParticipantID], [RoleID], [Begin], [End]) VALUES (@p1, @p2, @p3, @p4, @p5)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PersonGroupID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PersonGroupParticipantID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Begin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="End" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT [GroupParticipantID], [PersonGroupID], [PersonGroupParticipantID], [RoleID], [Begin], [End] FROM [GroupParticipant]</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [GroupParticipant] SET [PersonGroupID] = @p1, [PersonGroupParticipantID] = @p2, [RoleID] = @p3, [Begin] = @p4, [End] = @p5 WHERE (([GroupParticipantID] = @p6))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PersonGroupID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PersonGroupParticipantID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Begin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="End" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GroupParticipantID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="GroupParticipantID" DataSetColumn="GroupParticipantID" />
              <Mapping SourceColumn="PersonGroupID" DataSetColumn="PersonGroupID" />
              <Mapping SourceColumn="PersonGroupParticipantID" DataSetColumn="PersonGroupParticipantID" />
              <Mapping SourceColumn="RoleID" DataSetColumn="RoleID" />
              <Mapping SourceColumn="Begin" DataSetColumn="Begin" />
              <Mapping SourceColumn="End" DataSetColumn="End" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="templateConnectionString4 (Settings)" DbObjectName="GroupParticipant" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByPersonGroupID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByPersonGroupID" GeneratorSourceName="FillByPersonGroupID" GetMethodModifier="Public" GetMethodName="GetDataByPersonGroupID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByPersonGroupID" UserSourceName="FillByPersonGroupID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT [GroupParticipantID], [PersonGroupID], [PersonGroupParticipantID], [RoleID], [Begin], [End] FROM [GroupParticipant] WHERE PersonGroupID = @PersonGroupID</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="PersonGroupID" ColumnName="PersonGroupID" DataSourceName="GroupParticipant" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@PersonGroupID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="PersonGroupID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="GroupParticipantDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="GroupParticipantDataSet" msprop:Generator_UserDSName="GroupParticipantDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="GroupParticipant" msprop:Generator_TableClassName="GroupParticipantDataTable" msprop:Generator_TableVarName="tableGroupParticipant" msprop:Generator_TablePropName="GroupParticipant" msprop:Generator_RowDeletingName="GroupParticipantRowDeleting" msprop:Generator_UserTableName="GroupParticipant" msprop:Generator_RowChangingName="GroupParticipantRowChanging" msprop:Generator_RowEvHandlerName="GroupParticipantRowChangeEventHandler" msprop:Generator_RowDeletedName="GroupParticipantRowDeleted" msprop:Generator_RowEvArgName="GroupParticipantRowChangeEvent" msprop:Generator_RowChangedName="GroupParticipantRowChanged" msprop:Generator_RowClassName="GroupParticipantRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="GroupParticipantID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnGroupParticipantID" msprop:Generator_ColumnPropNameInRow="GroupParticipantID" msprop:Generator_ColumnPropNameInTable="GroupParticipantIDColumn" msprop:Generator_UserColumnName="GroupParticipantID" type="xs:int" />
              <xs:element name="PersonGroupID" msprop:Generator_ColumnVarNameInTable="columnPersonGroupID" msprop:Generator_ColumnPropNameInRow="PersonGroupID" msprop:Generator_ColumnPropNameInTable="PersonGroupIDColumn" msprop:Generator_UserColumnName="PersonGroupID" type="xs:int" />
              <xs:element name="PersonGroupParticipantID" msprop:Generator_ColumnVarNameInTable="columnPersonGroupParticipantID" msprop:Generator_ColumnPropNameInRow="PersonGroupParticipantID" msprop:Generator_ColumnPropNameInTable="PersonGroupParticipantIDColumn" msprop:Generator_UserColumnName="PersonGroupParticipantID" type="xs:int" />
              <xs:element name="RoleID" msprop:Generator_ColumnVarNameInTable="columnRoleID" msprop:Generator_ColumnPropNameInRow="RoleID" msprop:Generator_ColumnPropNameInTable="RoleIDColumn" msprop:Generator_UserColumnName="RoleID" type="xs:int" />
              <xs:element name="Begin" msprop:Generator_ColumnVarNameInTable="columnBegin" msprop:Generator_ColumnPropNameInRow="Begin" msprop:Generator_ColumnPropNameInTable="BeginColumn" msprop:Generator_UserColumnName="Begin">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="8" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="End" msprop:Generator_ColumnVarNameInTable="columnEnd" msprop:Generator_ColumnPropNameInRow="End" msprop:Generator_ColumnPropNameInTable="EndColumn" msprop:Generator_UserColumnName="End">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:GroupParticipant" />
      <xs:field xpath="mstns:GroupParticipantID" />
    </xs:unique>
  </xs:element>
</xs:schema>